{volist name="tree" id="list"}
<tr>
	<td><input class="ids row-selected" type="checkbox" name="id[]" value="{$list.id}"></td>
	<td>{$list['id']}</td>
	<td>
		<span class="tab-sign"></span>
		{$list['title']} 
		<a class="add-sub-cate" title="添加子分类" href="{:U('add?pid='.$list['id'])}">
			<i class="fa fa-plus-square"></i>
		</a>
	</td>
	<td>{$list['sort']}</td>
	<td>
		<a title="编辑" href="{:U('edit?id='.$list['id'].'&pid='.$list['pid'])}">编辑</a>
		<a title="{$list.status|show_status_op}" href="{:U('setStatus?ids='.$list['id'].'&status='.abs(1-$list['status']))}" class="ajax-get">{$list.status|show_status_op}</a>
		<a title="删除" href="{:U('del?id='.$list['id'])}" class="confirm ajax-get">删除</a>
	</td>
</tr>
{notempty name="list['_child']"}
{:R('Channel/tree', array($list['_child']))}
{/notempty}
{/volist}